<%@ page import="wmh.day0109.dao.UserDao" %>
<%@ page import="wmh.day0109.dao.impl.UserDaoImpl" %>
<%@ page import="wmh.day0109.entity.User" %><%--
  Created by IntelliJ IDEA.
  User: 12100
  Date: 2023/1/9
  Time: 16:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>保存用户信息</title>
  <%
    //获取addUser.jsp页面中，用户名和手机号
    String userName = request.getParameter("username");
    String phone = request.getParameter("phone");
    //多态体现。创建UserDao数据访问层
      UserDao userDao = new UserDaoImpl();
      //创建User对象，用来保存添加用户信息
        User user = new User();
        //用户名
        user.setUsername(userName);
      }
  %>
</head>
<body>

</body>
</html>
